/**
 * 
 * 
 * @author 吕婧
 *
 */
package com.ccb.lms.dao;

import java.sql.SQLException;
import java.util.List;

import com.ccb.lms.model.Library;
import com.ccb.lms.util.BasePage;


public interface ILibraryDAO {
	public List<Library> getAllLibrary() throws SQLException;      
	public Library getLibraryById(Integer libraryNO) throws SQLException;
	public List<Library> getLibraryByPage(BasePage basePage) throws SQLException;
	public int getLibraryCount() throws SQLException; 
	public boolean insertLibrary(Library library) throws SQLException;   
	public boolean updateLibrary(Library library) throws SQLException;     
	public boolean deleteLibrary(Integer libraryNO) throws SQLException;
	public BasePage getBasePage(int currentPage,int showRecordNum) throws SQLException;
}
